package com.funny.test.aop;

import lombok.extern.slf4j.Slf4j;
import org.springframework.aop.framework.AopContext;

/**
 * @author fanxiao  2022/2/14
 * @since 1.0.0
 */
@Slf4j
public class SimplePojo implements Pojo {

	@Override
	public void foo() {
		log.info("foo ...");
		((Pojo)AopContext.currentProxy()).eoo();
	}

	@Override
	public void eoo() {
		log.info("eoo ...");
	}
}